package com.lagou.edu.test;


import com.lagou.edu.utils.Service;
import org.junit.Test;

@Service(value = "userService" )
public class UserService {

    @Test
    public void getName(){
        System.out.print("这是一次简单的尝试");

    }

    @Test
    public void testService(){
        try {
           Class aclass= Class.forName("com.lagou.edu.service.impl.TransferServiceImpl");
           System.out.print(aclass.getName());
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }
}
